-- GENERATED SPELL FOR [Forsaken Intruder] --


function spell0_3804(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(7159,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3804', 592, 1)
end

function Sorts_3804(pUnit, Event)
local choix_sorts_3804 = math.random(0, 0)
if choix_sorts_3804 == 0 then
pUnit:RegisterEvent('spell0_3804', 1, 1)
end
end

function mob3804_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3804', math.random(1500, 3000), 1)
end

function mob3804_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3804_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3804_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3804, 1, 'mob3804_Action')
RegisterUnitEvent(3804, 2, 'mob3804_Leave')
RegisterUnitEvent(3804, 3, 'mob3804_Kill')
RegisterUnitEvent(3804, 4, 'mob3804_Die')
